package cn.broadsense.biz.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 任务审核
 *
 * @author: pengxin
 * @create: 2023-09-14 16:17
 * @Version 1.0
 **/
@ApiModel("任务审核")
@Data
public class CollectDataTaskAuditVo implements Serializable {

    private static final long serialVersionUID = -3466083800477364496L;

    @ApiModelProperty("任务id")
    @NotNull(message = "id不能为空")
    private Long id;
    @ApiModelProperty("任务状态")
    @NotNull(message = "任务状态不能为空")
    private Integer status;
    @ApiModelProperty("驳回原因")
    private String reasonRejection;

    @NotNull(message = "点位审核列表不能为空")
    @ApiModelProperty("任务点位审核列表")
    List<CollectDataTaskAuditVo> channelAuditList;
}
